C# Class ImageSelection, elmcity

Afficher le fichier Open project: judell/elmcity Class Usage Examples

Méthodes publiques

Свойство Type Description
NoCurrentImageUrl string

Méthodes publiques

Méthode Description
BingImageSearch ( string search_expression, int max ) : string>>.List
BuildCategoryImagesForHub ( string id ) : void
BuildSourceImagesForHub ( string id ) : void
GetCategoryImages ( string id ) : string>.Dictionary
GetCurrentImageSelections ( string id, string>.Dictionary images, List items, string type ) : string>.Dictionary
GetSourceImages ( string id ) : string>.Dictionary
ResizeImageFromByteArray ( int MaxSideSize, Byte byteArrayIn ) : byte[]
ResizeImageFromStream ( int MaxSideSize, Stream Buffer ) : byte[]

Private Methods

Méthode Description
BuildCategoriesForRegionSourcesForHubs ( string region, string where ) : void
GetNonHubCategories ( string id ) : List
GetSelections ( Uri uri ) : string>.Dictionary
RenderCategoryOrSourceImages ( string type, string>.Dictionary current_selections, Random rnd ) : string
RenderCurrentSourceOrCategoryImage ( string>.Dictionary current_selections, StringBuilder sb, string selector, String rand ) : void
RenderImageResult ( string label, String rand, string>.Dictionary result ) : string
SaveCategoryOrSourceImages ( string type, string id, string>.Dictionary images ) : void

Method Details

BingImageSearch() public static méthode

public static BingImageSearch ( string search_expression, int max ) : string>>.List
search_expression string
max int
Résultat string>>.List

BuildCategoryImagesForHub() public static méthode

public static BuildCategoryImagesForHub ( string id ) : void
id string
Résultat void

BuildSourceImagesForHub() public static méthode

public static BuildSourceImagesForHub ( string id ) : void
id string
Résultat void

GetCategoryImages() public static méthode

public static GetCategoryImages ( string id ) : string>.Dictionary
id string
Résultat string>.Dictionary

GetCurrentImageSelections() public static méthode

public static GetCurrentImageSelections ( string id, string>.Dictionary images, List items, string type ) : string>.Dictionary
id string
images string>.Dictionary
items List
type string
Résultat string>.Dictionary

GetSourceImages() public static méthode

public static GetSourceImages ( string id ) : string>.Dictionary
id string
Résultat string>.Dictionary

ResizeImageFromByteArray() public static méthode

public static ResizeImageFromByteArray ( int MaxSideSize, Byte byteArrayIn ) : byte[]
MaxSideSize int
byteArrayIn Byte
Résultat byte[]

ResizeImageFromStream() public static méthode

public static ResizeImageFromStream ( int MaxSideSize, Stream Buffer ) : byte[]
MaxSideSize int
Buffer Stream
Résultat byte[]

Property Details

NoCurrentImageUrl public_oe static_oe property

public static string NoCurrentImageUrl
Résultat string