Caliburn.Micro.Core
5.0.138-beta
Prefix Reserved
dotnet add package Caliburn.Micro.Core --version 5.0.138-beta
NuGet\Install-Package Caliburn.Micro.Core -Version 5.0.138-beta
<PackageReference Include="Caliburn.Micro.Core" Version="5.0.138-beta" />
paket add Caliburn.Micro.Core --version 5.0.138-beta
#r "nuget: Caliburn.Micro.Core, 5.0.138-beta"
// Install Caliburn.Micro.Core as a Cake Addin #addin nuget:?package=Caliburn.Micro.Core&version=5.0.138-beta&prerelease // Install Caliburn.Micro.Core as a Cake Tool #tool nuget:?package=Caliburn.Micro.Core&version=5.0.138-beta&prerelease
<a name='assembly'></a>
Caliburn.Micro.Platform.Core
Contents
- AssemblySource
- AssemblySourceCache
- ExtensionMethods
- NameTransformer
- RegExHelper
- Rule
- StringSplitter
- TypeMappingConfiguration
<a name='T-Caliburn-Micro-AssemblySource'></a>
AssemblySource type
Namespace
Caliburn.Micro
Summary
A source of assemblies that are inspectable by the framework.
<a name='F-Caliburn-Micro-AssemblySource-FindTypeByNames'></a>
FindTypeByNames constants
Summary
Finds a type which matches one of the elements in the sequence of names.
<a name='F-Caliburn-Micro-AssemblySource-Instance'></a>
Instance constants
Summary
The singleton instance of the AssemblySource used by the framework.
<a name='M-Caliburn-Micro-AssemblySource-AddRange-System-Collections-Generic-IEnumerable{System-Reflection-Assembly}-'></a>
AddRange(assemblies) method
Summary
Adds a collection of assemblies to AssemblySource
Parameters
Name | Type | Description |
---|---|---|
assemblies | System.Collections.Generic.IEnumerable{System.Reflection.Assembly} | The assemblies to add |
<a name='T-Caliburn-Micro-AssemblySourceCache'></a>
AssemblySourceCache type
Namespace
Caliburn.Micro
Summary
A caching subsystem for AssemblySource.
<a name='F-Caliburn-Micro-AssemblySourceCache-ExtractTypes'></a>
ExtractTypes constants
Summary
Extracts the types from the spezified assembly for storing in the cache.
<a name='F-Caliburn-Micro-AssemblySourceCache-Install'></a>
Install constants
Summary
Installs the caching subsystem.
<a name='T-Caliburn-Micro-ExtensionMethods'></a>
ExtensionMethods type
Namespace
Caliburn.Micro
Summary
Generic extension methods used by the framework.
<a name='M-Caliburn-Micro-ExtensionMethods-GetAssemblyName-System-Reflection-Assembly-'></a>
GetAssemblyName(assembly) method
Summary
Get's the name of the assembly.
Returns
The assembly's name.
Parameters
Name | Type | Description |
---|---|---|
assembly | System.Reflection.Assembly | The assembly. |
<a name='M-Caliburn-Micro-ExtensionMethods-GetValueOrDefault2-System-Collections-Generic-IDictionary{
0,1},
0-'></a>
GetValueOrDefault``2(dictionary,key) method
Summary
Gets the value for a key. If the key does not exist, return default(TValue);
Returns
The key value. default(TValue) if this key is not in the dictionary.
Parameters
Name | Type | Description |
---|---|---|
dictionary | System.Collections.Generic.IDictionary{``0,``1} | The dictionary to call this method on. |
key | ``0 | The key to look up. |
Generic Types
Name | Description |
---|---|
TKey | The type of the keys in the dictionary. |
TValue | The type of the values in the dictionary. |
<a name='T-Caliburn-Micro-NameTransformer'></a>
NameTransformer type
Namespace
Caliburn.Micro
Summary
Class for managing the list of rules for doing name transformation.
<a name='P-Caliburn-Micro-NameTransformer-UseEagerRuleSelection'></a>
UseEagerRuleSelection property
Summary
Flag to indicate if transformations from all matched rules are returned. Otherwise, transformations from only the first matched rule are returned.
<a name='M-Caliburn-Micro-NameTransformer-AddRule-System-String,System-String,System-String-'></a>
AddRule(replacePattern,replaceValue,globalFilterPattern) method
Summary
Adds a transform using a single replacement value and a global filter pattern.
Parameters
Name | Type | Description |
---|---|---|
replacePattern | System.String | Regular expression pattern for replacing text |
replaceValue | System.String | The replacement value. |
globalFilterPattern | System.String | Regular expression pattern for global filtering |
<a name='M-Caliburn-Micro-NameTransformer-AddRule-System-String,System-Collections-Generic-IEnumerable{System-String},System-String-'></a>
AddRule(replacePattern,replaceValueList,globalFilterPattern) method
Summary
Adds a transform using a list of replacement values and a global filter pattern.
Parameters
Name | Type | Description |
---|---|---|
replacePattern | System.String | Regular expression pattern for replacing text |
replaceValueList | System.Collections.Generic.IEnumerable{System.String} | The list of replacement values |
globalFilterPattern | System.String | Regular expression pattern for global filtering |
<a name='M-Caliburn-Micro-NameTransformer-Transform-System-String-'></a>
Transform(source) method
Summary
Gets the list of transformations for a given name.
Returns
The transformed names.
Parameters
Name | Type | Description |
---|---|---|
source | System.String | The name to transform into the resolved name list |
<a name='M-Caliburn-Micro-NameTransformer-Transform-System-String,System-Func{System-String,System-String}-'></a>
Transform(source,getReplaceString) method
Summary
Gets the list of transformations for a given name.
Returns
The transformed names.
Parameters
Name | Type | Description |
---|---|---|
source | System.String | The name to transform into the resolved name list |
getReplaceString | System.Func{System.String,System.String} | A function to do a transform on each item in the ReplaceValueList prior to applying the regular expression transform |
<a name='T-Caliburn-Micro-RegExHelper'></a>
RegExHelper type
Namespace
Caliburn.Micro
Summary
Helper class for encoding strings to regular expression patterns
<a name='F-Caliburn-Micro-RegExHelper-NameRegEx'></a>
NameRegEx constants
Summary
Regular expression pattern for valid name
<a name='F-Caliburn-Micro-RegExHelper-NamespaceRegEx'></a>
NamespaceRegEx constants
Summary
Regular expression pattern for namespace or namespace fragment
<a name='F-Caliburn-Micro-RegExHelper-SubNamespaceRegEx'></a>
SubNamespaceRegEx constants
Summary
Regular expression pattern for subnamespace (including dot)
<a name='M-Caliburn-Micro-RegExHelper-GetCaptureGroup-System-String,System-String-'></a>
GetCaptureGroup(groupName,regEx) method
Summary
Creates a named capture group with the specified regular expression
Returns
Regular expression capture group with the specified group name
Parameters
Name | Type | Description |
---|---|---|
groupName | System.String | Name of capture group to create |
regEx | System.String | Regular expression pattern to capture |
<a name='M-Caliburn-Micro-RegExHelper-GetNameCaptureGroup-System-String-'></a>
GetNameCaptureGroup(groupName) method
Summary
Creates a capture group for a valid name regular expression pattern
Returns
Regular expression capture group with the specified group name
Parameters
Name | Type | Description |
---|---|---|
groupName | System.String | Name of capture group to create |
<a name='M-Caliburn-Micro-RegExHelper-GetNamespaceCaptureGroup-System-String-'></a>
GetNamespaceCaptureGroup(groupName) method
Summary
Creates a capture group for a namespace regular expression pattern
Returns
Regular expression capture group with the specified group name
Parameters
Name | Type | Description |
---|---|---|
groupName | System.String | Name of capture group to create |
<a name='M-Caliburn-Micro-RegExHelper-NamespaceToRegEx-System-String-'></a>
NamespaceToRegEx(srcNamespace) method
Summary
Converts a namespace (including wildcards) to a regular expression string
Returns
Namespace converted to a regular expression
Parameters
Name | Type | Description |
---|---|---|
srcNamespace | System.String | Source namespace to convert to regular expression |
<a name='T-Caliburn-Micro-NameTransformer-Rule'></a>
Rule type
Namespace
Caliburn.Micro.NameTransformer
Summary
A rule that describes a name transform.
<a name='F-Caliburn-Micro-NameTransformer-Rule-GlobalFilterPattern'></a>
GlobalFilterPattern constants
Summary
Regular expression pattern for global filtering
<a name='F-Caliburn-Micro-NameTransformer-Rule-ReplacePattern'></a>
ReplacePattern constants
Summary
Regular expression pattern for replacing text
<a name='F-Caliburn-Micro-NameTransformer-Rule-ReplacementValues'></a>
ReplacementValues constants
Summary
The list of replacement values
<a name='P-Caliburn-Micro-NameTransformer-Rule-GlobalFilterPatternRegex'></a>
GlobalFilterPatternRegex property
Summary
Regular expression for global filtering
<a name='P-Caliburn-Micro-NameTransformer-Rule-ReplacePatternRegex'></a>
ReplacePatternRegex property
Summary
Regular expression for replacing text
<a name='T-Caliburn-Micro-StringSplitter'></a>
StringSplitter type
Namespace
Caliburn.Micro
Summary
Helper class when splitting strings
<a name='M-Caliburn-Micro-StringSplitter-Split-System-String,System-Char-'></a>
Split(message,separator) method
Summary
Splits a string with a chosen separator. If a substring is contained in [...] it will not be splitted.
Returns
Parameters
Name | Type | Description |
---|---|---|
message | System.String | The message to split |
separator | System.Char | The separator to use when splitting |
<a name='M-Caliburn-Micro-StringSplitter-SplitParameters-System-String-'></a>
SplitParameters(parameters) method
Summary
Splits a string with , as separator. Does not split within {},[],()
Returns
Parameters
Name | Type | Description |
---|---|---|
parameters | System.String | The string to split |
<a name='T-Caliburn-Micro-TypeMappingConfiguration'></a>
TypeMappingConfiguration type
Namespace
Caliburn.Micro
Summary
Class to specify settings for configuring type mappings by the ViewLocator or ViewModelLocator
<a name='P-Caliburn-Micro-TypeMappingConfiguration-DefaultSubNamespaceForViewModels'></a>
DefaultSubNamespaceForViewModels property
Summary
The default subnamespace for ViewModels. Used for creating default subnamespace mappings. Defaults to "ViewModels".
<a name='P-Caliburn-Micro-TypeMappingConfiguration-DefaultSubNamespaceForViews'></a>
DefaultSubNamespaceForViews property
Summary
The default subnamespace for Views. Used for creating default subnamespace mappings. Defaults to "Views".
<a name='P-Caliburn-Micro-TypeMappingConfiguration-IncludeViewSuffixInViewModelNames'></a>
IncludeViewSuffixInViewModelNames property
Summary
Flag to indicate if ViewModel names should include View suffixes (i.e. CustomerPageViewModel vs. CustomerViewModel)
<a name='P-Caliburn-Micro-TypeMappingConfiguration-NameFormat'></a>
NameFormat property
Summary
The format string used to compose the name of a type from base name and name suffix
<a name='P-Caliburn-Micro-TypeMappingConfiguration-UseNameSuffixesInMappings'></a>
UseNameSuffixesInMappings property
Summary
Flag to indicate whether or not the name of the Type should be transformed when adding a type mapping. Defaults to true.
<a name='P-Caliburn-Micro-TypeMappingConfiguration-ViewModelSuffix'></a>
ViewModelSuffix property
Summary
The name suffix for ViewModels. Applies only when UseNameSuffixesInMappings = true. The default is "ViewModel".
<a name='P-Caliburn-Micro-TypeMappingConfiguration-ViewSuffixList'></a>
ViewSuffixList property
Summary
List of View suffixes for which default type mappings should be created. Applies only when UseNameSuffixesInMappings = true. Default values are "View", "Page"
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Runtime.Serialization.Primitives (>= 4.3.0)
NuGet packages (28)
Showing the top 5 NuGet packages that depend on Caliburn.Micro.Core:
Package | Downloads |
---|---|
Caliburn.Micro
A small, yet powerful framework designed for Xaml platforms, Caliburn.Micro implements a variety of UI patterns for solving real-world problems. Patterns that are highlighted include MVVM (Presentation Model), MVP and MVC. |
|
Dapplo.CaliburnMicro.Menu
Dapplo.CaliburnMicro.Menu brings modular menus to Dapplo.CaliburnMicro |
|
Caliburn.Micro.Logging
Logging for Caliburn.Micro (PCL) |
|
Dapplo.CaliburnMicro.Configuration
Dapplo.CaliburnMicro.Configuration is an extension to Dapplo.CaliburnMicro and brings Dapplo.Config.Ini configuration |
|
UwCore
Makes my life easier with UWP. |
GitHub repositories (25)
Showing the top 5 popular GitHub repositories that depend on Caliburn.Micro.Core:
Repository | Stars |
---|---|
Caliburn-Micro/Caliburn.Micro
A small, yet powerful framework, designed for building applications across all XAML platforms. Its strong support for MV* patterns will enable you to build your solution quickly, without the need to sacrifice code quality or testability.
|
|
chocolatey/ChocolateyGUI
A delicious GUI for Chocolatey
|
|
ProtonVPN/win-app
Official ProtonVPN Windows app
|
|
oleg-shilo/wixsharp
Framework for building a complete MSI or WiX source code by using script files written with C# syntax.
|
|
danielpalme/IocPerformance
Performance comparison of .NET IoC containers
|
Version | Downloads | Last updated |
---|---|---|
5.0.138-beta | 0 | 11/21/2024 |
4.0.228-gec387c2d4f | 0 | 11/21/2024 |
4.0.212 | 430,894 | 8/27/2022 |
4.0.210 | 32,143 | 6/26/2022 |
4.0.173 | 255,129 | 5/8/2021 |
4.0.136-rc | 35,979 | 6/21/2020 |
4.0.105-alpha | 21,691 | 2/13/2020 |
4.0.62-alpha | 26,312 | 4/14/2019 |
4.0.0-alpha.1 | 20,961 | 1/24/2018 |
3.2.0 | 1,604,636 | 9/17/2017 |
3.1.0 | 193,095 | 5/27/2017 |
3.0.3 | 237,998 | 1/9/2017 |
3.0.2 | 25,055 | 12/6/2016 |
3.0.1 | 606,367 | 5/6/2016 |
3.0.0 | 95,258 | 2/29/2016 |
3.0.0-beta2 | 5,443 | 11/30/2015 |
3.0.0-beta1 | 8,123 | 8/11/2015 |
3.0.0-alpha | 5,565 | 4/21/2015 |
2.0.2 | 363,411 | 3/16/2015 |
2.0.1 | 99,182 | 8/20/2014 |
2.0.0 | 95,120 | 5/28/2014 |
2.0.0-beta2 | 6,020 | 4/3/2014 |
2.0.0-beta | 4,453 | 2/19/2014 |
2.0.0-alpha2 | 4,863 | 11/26/2013 |
2.0.0-alpha | 3,381 | 11/13/2013 |