Caliburn.Micro.Core 5.0.181-beta
Caliburn.Micro.Platform.Core
Contents
- AssemblySource
- AssemblySourceCache
- ExtensionMethods
- NameTransformer
- RegExHelper
- Rule
- StringSplitter
- TypeMappingConfiguration
AssemblySource type
Namespace
Caliburn.Micro
Summary
A source of assemblies that are inspectable by the framework.
FindTypeByNames constants
Summary
Finds a type which matches one of the elements in the sequence of names.
Instance constants
Summary
The singleton instance of the AssemblySource used by the framework.
AddRange(assemblies) method
Summary
Adds a collection of assemblies to AssemblySource
Parameters
Name | Type | Description |
---|---|---|
assemblies | System.Collections.Generic.IEnumerable | The assemblies to add |
AssemblySourceCache type
Namespace
Caliburn.Micro
Summary
A caching subsystem for AssemblySource.
ExtractTypes constants
Summary
Extracts the types from the spezified assembly for storing in the cache.
Install constants
Summary
Installs the caching subsystem.
ExtensionMethods type
Namespace
Caliburn.Micro
Summary
Generic extension methods used by the framework.
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. |
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. |
NameTransformer type
Namespace
Caliburn.Micro
Summary
Class for managing the list of rules for doing name transformation.
UseEagerRuleSelection property
Summary
Flag to indicate if transformations from all matched rules are returned. Otherwise, transformations from only the first matched rule are returned.
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 |
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 | The list of replacement values |
globalFilterPattern | System.String | Regular expression pattern for global filtering |
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 |
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 |
RegExHelper type
Namespace
Caliburn.Micro
Summary
Helper class for encoding strings to regular expression patterns
NameRegEx constants
Summary
Regular expression pattern for valid name
NamespaceRegEx constants
Summary
Regular expression pattern for namespace or namespace fragment
SubNamespaceRegEx constants
Summary
Regular expression pattern for subnamespace (including dot)
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 |
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 |
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 |
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 |
Rule type
Namespace
Caliburn.Micro.NameTransformer
Summary
A rule that describes a name transform.
GlobalFilterPattern constants
Summary
Regular expression pattern for global filtering
ReplacePattern constants
Summary
Regular expression pattern for replacing text
ReplacementValues constants
Summary
The list of replacement values
GlobalFilterPatternRegex property
Summary
Regular expression for global filtering
ReplacePatternRegex property
Summary
Regular expression for replacing text
StringSplitter type
Namespace
Caliburn.Micro
Summary
Helper class when splitting strings
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 |
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 |
TypeMappingConfiguration type
Namespace
Caliburn.Micro
Summary
Class to specify settings for configuring type mappings by the ViewLocator or ViewModelLocator
DefaultSubNamespaceForViewModels property
Summary
The default subnamespace for ViewModels. Used for creating default subnamespace mappings. Defaults to "ViewModels".
DefaultSubNamespaceForViews property
Summary
The default subnamespace for Views. Used for creating default subnamespace mappings. Defaults to "Views".
IncludeViewSuffixInViewModelNames property
Summary
Flag to indicate if ViewModel names should include View suffixes (i.e. CustomerPageViewModel vs. CustomerViewModel)
NameFormat property
Summary
The format string used to compose the name of a type from base name and name suffix
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.
ViewModelSuffix property
Summary
The name suffix for ViewModels. Applies only when UseNameSuffixesInMappings = true. The default is "ViewModel".
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"
Showing the top 20 packages that depend on Caliburn.Micro.Core.
Packages | 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.
|
21 |
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.
|
23 |
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.
|
24 |
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.
|
25 |
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.
|
26 |
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.
|
27 |
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.
|
28 |
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.
|
29 |
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.
|
30 |
Caliburn.Micro.Xamarin.Forms
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.
|
21 |
Caliburn.Micro.Xamarin.Forms
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.
|
23 |
Caliburn.Micro.Xamarin.Forms
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.
|
25 |
Caliburn.Micro.Xamarin.Forms
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.
|
27 |
Caliburn.Micro.Xamarin.Forms
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.
|
28 |
Caliburn.Micro.Xamarin.Forms
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.
|
29 |
Caliburn.Micro.Xamarin.Forms
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.
|
34 |
.NET Standard 2.0
- System.Runtime.Serialization.Primitives (>= 4.3.0)
Version | Downloads | Last updated |
---|---|---|
5.0.181-beta | 16 | 02/06/2025 |
5.0.138-beta | 13 | 02/10/2025 |
4.0.230 | 12 | 02/26/2025 |
4.0.228-gec387c2d4f | 15 | 02/09/2025 |
4.0.212 | 27 | 02/06/2024 |
4.0.210 | 27 | 02/06/2024 |
4.0.173 | 32 | 02/06/2024 |
4.0.136-rc | 19 | 02/06/2024 |
4.0.105-alpha | 20 | 02/06/2024 |
4.0.62-alpha | 18 | 02/06/2024 |
4.0.0-alpha.1 | 19 | 02/06/2024 |
3.2.0 | 27 | 02/06/2024 |
3.1.0 | 18 | 02/06/2024 |
3.0.3 | 29 | 02/10/2020 |
3.0.2 | 20 | 02/06/2024 |
3.0.1 | 18 | 02/06/2024 |
3.0.0 | 19 | 02/06/2024 |
3.0.0-beta2 | 18 | 02/06/2024 |
3.0.0-beta1 | 17 | 02/06/2024 |
3.0.0-alpha | 18 | 02/06/2024 |
2.0.2 | 22 | 02/06/2024 |
2.0.1 | 19 | 02/06/2024 |
2.0.0 | 20 | 02/06/2024 |
2.0.0-beta2 | 19 | 02/06/2024 |
2.0.0-beta | 28 | 02/06/2024 |
2.0.0-alpha2 | 22 | 02/06/2024 |
2.0.0-alpha | 26 | 02/06/2024 |