/// <summary>
 /// Initializes the <see cref="SourcedCursorResource"/> type.
 /// </summary>
 static SourcedCursorResource()
 {
     ObjectResolver.RegisterValueResolver <SourcedCursorResource>(SourcedCursorResolver);
 }
Exemple #2
0
 /// <summary>
 /// Initializes the <see cref="TextureImage"/> type.
 /// </summary>
 static TextureImage()
 {
     ObjectResolver.RegisterValueResolver <TextureImage>(ImageResolver);
 }
Exemple #3
0
 /// <summary>
 /// Initializes the <see cref="VersionedStringSource"/> type.
 /// </summary>
 static VersionedStringSource()
 {
     ObjectResolver.RegisterValueResolver <VersionedStringSource>((value, provider) => new VersionedStringSource(value));
 }